# from django.contrib import admin
# from apps.c2cAdmin.models import UserInfo
#
#
# class UserInfoAdmin(admin.ModelAdmin):
#     list_display = ("user_username", "company")
#
#     def user_username(self, model):
#         return model.user.username
#
#     user_username.short_description = "用户名"
#
#
# admin.site.register(UserInfo, UserInfoAdmin)
